package com.atguigu.staservice.client;

import com.atguigu.commonutils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther 赵乾坤
 * @Date 2020-12-07 9:24
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterCliennt {

    //"根据日期统计用户注册信息,远程调用")
    @GetMapping("/ucenterservice/member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day) ;
}
